from django.conf.urls import url
from . import views
urlpatterns = [
    url(r'^api/v1.0/orders$', views.AddOrderView.as_view()),
    url(r'^api/v1.0/user/orders$', views.OrderListView.as_view()),
    url(r'^api/v1.0/orders/(?P<order_id>\d+)/status$', views.OrderOperationView.as_view()),
    url(r'^api/v1.0/orders/(?P<order_id>\d+)/comment$', views.OrderCommentView.as_view()),
]